// 自定义validate
const dictionary = {
  zh_CN: {
    messages: {
      email: () => "请输入正确的邮箱格式",
      required: field => "请填写" + field,
      confirmed: () => "请确认两次密码一致",
      min: (field, [length]) => field + "至少" + length + "个字符",
      max: (field, [length]) => field + "至多" + length + "个字符"
    },
    attributes: {
      email: "邮箱",
      receiver: "收货人",
      registeredPassword: "密码",
      name: "账号",
      mobile: "手机号",
      phone_code: "验证码",
      zipcode:"邮编",
      detailadd: "详细地址",
      bankcard :"银行卡"
    }
  }
};

export default dictionary;
